<?php echo View::factory('admin/administrator/administrator_left')->render(); ?>
<script type="text/javascript" src="/media/js/my_validation.js"></script>
<script type="text/javascript" src="/media/js/catalog/catalog_admin.js"></script>
<script>
    $(function() {
          $( "input:submit").button();
    });
    </script>

<div id="do_right" >
<div class="box" style="overflow:hidden;">
<h3><span class="moreActions">
<a href="/admin/organization/list" >返回部门列表</a></span>添加部门</h3>

        <form method="post" action="/admin/organization/add" class="need_validation">
            <div id="tabs">
                <ul>
                    <li><a href="#tabs-1">基本资料</a></li>
                  
                </ul>
                <!--START tabs-1 -->
                <div id="tabs-1">
                    <ul>
                        <li>
                            <label>选择上一级分类</label>
                            <div>
                                <select class="drop required" name="chr_parentid" id="chr_parentid">
                                    <?php
                                    echo $catalog_opt == '' ? '<option value="0">--ROOT--</option>' : $catalog_opt;
                                    ?>
                                </select>
                            </div>
                        </li>

                        <li>
                            <label>部门名称<span class="req">*</span></label>
                            <div>
                                <input name="chr_orgname" id="chr_orgname" class="text medium required" type="text" value=""/>
                            </div>
                        </li>
                        
                          <li>
                            <label>部门编号<span class="req">*</span></label>
                            <div>
                                <input name="chr_eno" id="chr_eno" class="text datepick  required" type="text" value=""/>
                            </div>
                        </li>
                        
                         

                    </ul>
                </div>
                <!--END tabs-1 -->

            </div>

            <ul>
                <li style="text-align: center;">
                    
                    <input value="保存" class="button" type="submit" />
                </li>
            </ul>
        </form>
    </div>
</div>
